<?php
/**
* 	配置账号信息
*/

class WxPayConf_pub
{
	//=======【基本信息设置】=====================================
	//微信公众号身份的唯一标识。审核通过后，在微信发送的邮件中查看
  const APPID = 'wxc71aed428493cf0f';
  //受理商ID，身份标识
  const MCHID = '1247013301';
  //商户支付密钥Key。审核通过后，在微信发送的邮件中查看
  const KEY = 'C7qRaiVZjfKnJNWLgU9FMD8o4OQ2mEA0';
  //JSAPI接口中获取openid，审核后在公众平台开启开发模式后可查看
  const APPSECRET = 'a4beea16b43f68754c9101c5fc20abc5';

  //=======【JSAPI路径设置】===================================
  //获取access_token过程中的跳转uri，通过跳转将code传入jsapi支付页面
  const JS_API_CALL_URL = '';

	//=======【证书路径设置】=====================================
	//证书路径,注意应该填写绝对路径
    /*
	const SSLCERT_PATH = 'E:/www/WWW/sf/application/libraries/WxPayPubHelpercacert/apiclient_cert.pem';
	const SSLKEY_PATH = 'E:/www/WWW/sf/application/libraries/WxPayPubHelpercacert/apiclient_key.pem';
    */

	//local
    //const SSLCERT_PATH = '/Users/wujun/Sites/zhenqidao/application/libraries/WxPayPubHelper/cacert/apiclient_cert.pem';
    //const SSLKEY_PATH = '/Users/wujun/Sites/zhenqidao/application/libraries/WxPayPubHelper/cacert/apiclient_key.pem';

    //server
    const SSLCERT_PATH = '/home/wwwroot/wechat/public_html/application/libraries/WxPayPubHelper/cacert/apiclient_cert.pem';
    const SSLKEY_PATH = '/home/wwwroot/wechat/public_html/application/libraries/WxPayPubHelper/cacert/apiclient_key.pem';

	//=======【异步通知url设置】===================================
	//异步通知url，商户根据实际开发过程设定
    //const NOTIFY_URL = 'http://zqd.schmidt-china.com/index.php/wap/notify_url';
    const NOTIFY_URL='http://wap.tuniaoapp.com/pay/wechat/notify_url.php';
    const RECHARGE_URL='http://wap.tuniaoapp.com/pay/wechat/notify_url.php';
    const NOTIFY_URL_WECHAT = 'http://wap.tuniaoapp.com/pay/wechat/notify_url.php';

	//=======【curl超时设置】===================================
	//本例程通过curl使用HTTP POST方法，此处可修改其超时时间，默认为30秒
	const CURL_TIMEOUT = 30;
}

?>
